package com.ruima.study.jdk21.jdk13.demo1;

/**
 * <p>
 * <p></p>
 * <p>
 * <p>Copyright (c) 2024/11/12 11:13, 科大讯飞 All Rights Reserve</p>
 *
 * @author ruima6
 * @version [V1.0]
 */
public class TextBlock {
    public static void main(String[] args) {
        // jdk13之前
        String s = "Hello\nWorld\nLearn\nJava";
        System.out.println(s);

        // jdk13之后
        String s2 = """
            Hello
            World
            Learn
            Java
           """;

        System.out.println();
        System.out.println(s2);
    }
}
